package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

public class CommonPhotoOperLog implements Serializable {
    private static final long serialVersionUID = 54533826816758295L;

	/**
	 * This field corresponds to the database column common_photo_oper_log.id
	 */
	private Integer id = 0;

	/**
	 * This field corresponds to the database column common_photo_oper_log.photo_id
	 */
	private Integer photoId = 0;

	/**
	 * This field corresponds to the database column common_photo_oper_log.user_id
	 */
	private Integer userId = 0;

	/**
	 * This field corresponds to the database column common_photo_oper_log.user_name
	 */
	private String userName;

	/**
	 * This field corresponds to the database column common_photo_oper_log.uuid
	 */
	private String uuid;

	/**
	 * This field corresponds to the database column common_photo_oper_log.oper_type
	 */
	private Integer operType = 0;

	/**
	 * This field corresponds to the database column common_photo_oper_log.create_time
	 */
	private Date createTime = new Date();
	
	private String ip;
	
	private String fileName;

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.id
	 * @return  the value of common_photo_oper_log.id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.id
	 * @param id  the value for common_photo_oper_log.id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.photo_id
	 * @return  the value of common_photo_oper_log.photo_id
	 */
	public Integer getPhotoId() {
		return photoId;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.photo_id
	 * @param photoId  the value for common_photo_oper_log.photo_id
	 */
	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.user_id
	 * @return  the value of common_photo_oper_log.user_id
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.user_id
	 * @param userId  the value for common_photo_oper_log.user_id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.user_name
	 * @return  the value of common_photo_oper_log.user_name
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.user_name
	 * @param userName  the value for common_photo_oper_log.user_name
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.uuid
	 * @return  the value of common_photo_oper_log.uuid
	 */
	public String getUuid() {
		return uuid;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.uuid
	 * @param uuid  the value for common_photo_oper_log.uuid
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.oper_type
	 * @return  the value of common_photo_oper_log.oper_type
	 */
	public Integer getOperType() {
		return operType;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.oper_type
	 * @param operType  the value for common_photo_oper_log.oper_type
	 */
	public void setOperType(Integer operType) {
		this.operType = operType;
	}

	/**
	 * This method returns the value of the database column common_photo_oper_log.create_time
	 * @return  the value of common_photo_oper_log.create_time
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method sets the value of the database column common_photo_oper_log.create_time
	 * @param createTime  the value for common_photo_oper_log.create_time
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public String getIp() {
		return this.ip;
	}
	
	public void setIp(String ip) {
		this.ip = ip;
	}
}